package com.aiti.lulian.mapper.newCard;

import com.aiti.lulian.entity.newCard.CardEnterpriseQr;
import com.aiti.lulian.vo.newCard.EnterpriseCardQRVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface CardEnterpriseQrMapper extends BaseMapper<CardEnterpriseQr> {

    EnterpriseCardQRVo queryEnterpriseQR(@Param("enterpriseId") String enterpriseId, @Param("templateId") String templateId, @Param("qrType") Integer qrType, @Param("auditBaseId")String auditBaseId);

    void updateQRExpireTime(@Param("baseId") String baseId, @Param("expireTimeType") Integer expireTimeType,@Param("expireTime") String expireTime, @Param("userId")String userId);

}
